package com.easywan.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.session.RowBounds;

import com.easywan.vo.base.BaseModel;

public interface IBaseDao {
    public <T> T selectByPrimaryColumn( Integer key);
    <T> List<T> select(T admin);
    <T> List<T> select();
    <T> List<T> selectByPage(T tmpArticle);
    <T> int insertSelective(T t);
	public Long countTotal();
	public <T> Long countTotal(T model);
	public int deleteByPrimaryColumn(int id);
	public void updateByPrimaryColumn(BaseModel loadFiled);
}